
package com.jiuqi.ccp.generator.form;

import java.text.ParseException;
import java.text.SimpleDateFormat;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

/**
 * Form for ccpEqSchemetag.
 *
 * @author <a href="http://boss.bekk.no/boss/middlegen/"/>Middlegen</a>
 *
 * @struts.form name="ccpEqSchemetagForm"
 */
public class CcpEqSchemetagForm extends ActionForm {

   private final static SimpleDateFormat FORMAT = new SimpleDateFormat("dd.MM.yyyy hh:mm:ss");

   private java.lang.String _cetGuid = null;
   private java.lang.String _cetCode = null;
   private java.lang.String _cetName = null;
   private java.lang.String _eqsGuid = null;
   private java.lang.String _schemeGuid = null;
   private java.lang.String _tagOrder = null;
   private java.lang.String _reserved1 = null;
   private java.lang.String _reserved2 = null;
   private java.lang.String _reserved3 = null;

   /**
    * Standard constructor.
    */
   public CcpEqSchemetagForm() {
   }

   /**
    * Returns the cetGuid
    *
    * @return the cetGuid
    */
   public java.lang.String getCetGuid() {
      return _cetGuid;
   }

   /**
    * Sets the cetGuid
    *
    * @param cetGuid the new cetGuid value
    */
   public void setCetGuid(java.lang.String cetGuid) {
      _cetGuid = cetGuid;
   }
   /**
    * Returns the cetCode
    *
    * @return the cetCode
    */
   public java.lang.String getCetCode() {
      return _cetCode;
   }

   /**
    * Sets the cetCode
    *
    * @param cetCode the new cetCode value
    */
   public void setCetCode(java.lang.String cetCode) {
      _cetCode = cetCode;
   }
   /**
    * Returns the cetName
    *
    * @return the cetName
    */
   public java.lang.String getCetName() {
      return _cetName;
   }

   /**
    * Sets the cetName
    *
    * @param cetName the new cetName value
    */
   public void setCetName(java.lang.String cetName) {
      _cetName = cetName;
   }
   /**
    * Returns the eqsGuid
    *
    * @return the eqsGuid
    */
   public java.lang.String getEqsGuid() {
      return _eqsGuid;
   }

   /**
    * Sets the eqsGuid
    *
    * @param eqsGuid the new eqsGuid value
    */
   public void setEqsGuid(java.lang.String eqsGuid) {
      _eqsGuid = eqsGuid;
   }
   /**
    * Returns the schemeGuid
    *
    * @return the schemeGuid
    */
   public java.lang.String getSchemeGuid() {
      return _schemeGuid;
   }

   /**
    * Sets the schemeGuid
    *
    * @param schemeGuid the new schemeGuid value
    */
   public void setSchemeGuid(java.lang.String schemeGuid) {
      _schemeGuid = schemeGuid;
   }
   /**
    * Returns the tagOrder
    *
    * @return the tagOrder
    */
   public java.lang.String getTagOrder() {
      return _tagOrder;
   }

   /**
    * Sets the tagOrder
    *
    * @param tagOrder the new tagOrder value
    */
   public void setTagOrder(java.lang.String tagOrder) {
      _tagOrder = tagOrder;
   }
   /**
    * Returns the reserved1
    *
    * @return the reserved1
    */
   public java.lang.String getReserved1() {
      return _reserved1;
   }

   /**
    * Sets the reserved1
    *
    * @param reserved1 the new reserved1 value
    */
   public void setReserved1(java.lang.String reserved1) {
      _reserved1 = reserved1;
   }
   /**
    * Returns the reserved2
    *
    * @return the reserved2
    */
   public java.lang.String getReserved2() {
      return _reserved2;
   }

   /**
    * Sets the reserved2
    *
    * @param reserved2 the new reserved2 value
    */
   public void setReserved2(java.lang.String reserved2) {
      _reserved2 = reserved2;
   }
   /**
    * Returns the reserved3
    *
    * @return the reserved3
    */
   public java.lang.String getReserved3() {
      return _reserved3;
   }

   /**
    * Sets the reserved3
    *
    * @param reserved3 the new reserved3 value
    */
   public void setReserved3(java.lang.String reserved3) {
      _reserved3 = reserved3;
   }


   /**
    * Validate the properties that have been set from this HTTP request,
    * and return an <code>ActionErrors</code> object that encapsulates any
    * validation errors that have been found.  If no errors are found, return
    * <code>null</code> or an <code>ActionErrors</code> object with no
    * recorded error messages.
    *
    * @param mapping The mapping used to select this instance
    * @param request The servlet request we are processing
    */
   public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
      ActionErrors errors = new ActionErrors();
      // test for nullity
      // TODO test format/data
      return errors;
   }
}
